package cn.zy.common.utils;

public enum  RestResultEmum {
    SUCCESS("000000","执行成功！"),
    GET_ERROR("999999","查询失败，请稍后再试！"),
    SAVE_ERROR("999998","新增失败，请稍后再试！"),
    EDIT_ERROR("999997","修改失败，请稍后再试！"),
    DEL_ERROR("999996","删除失败，请稍后再试！"),

    SAVE_SUCCEED("900001","新增成功！"),
    EDIT_SUCCEED("900002","修改成功！"),
    DEL_SUCCEED("900003","删除成功！"),

    //权限错误码规定以 2开头
    XXXX_XX("200001","没有新增权限"),
    REGISTER_EXTIST("310000","此号码已经注册小米帐号，请输入密码登录"),
    PASSWORD_ERROR("320000","密码错误"),
    PASSWORDTWO_ERROR("350000","俩次输入的密码错误"),
    REGISTER_SUCCEED("330000","登录成功"),
    ENTER_YOUR_PIN("300003","验证成功,请输入初始密码"),
    ERROR_LENGTH("300004","手机号格式不正确"),
    REGISTER_AUTH_EXTIST("300002","验证码无效或者错误！"),
    CONSENT_USER_TERMS("400000","请您同意用户条款！"),
    TWICE_USER_TERMS("400001","签名验证失败,您请求的地址有误"),
    REGISTER_SUCCESSFULLY("300000","验证码发送成功");


    RestResultEmum(String code ,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String code;
    public String msg;
}
